package com.ecode.annotation.enums;

/**
 * @ClassName CodeDataFromEnum
 * @Author mjlft
 * @Date 2021/10/4 10:49
 * @Version 1.0
 * @Description 错误码数据来源
 */
public enum CodeDataFromEnum {
    MYSQL("MYSQL", "mysql数据库配置"),
    HTTP("HTTP", "HTTP服务器配置"),
    PROJECT("PROJECT", "项目配置"),
    LOCALPATH("LOCALPATH", "本地配置"),
    OTHER("OTHER", "其他数据来源配置")
    ;

    private String from;
    private String msg;

    CodeDataFromEnum(String from, String msg) {
        this.from = from;
        this.msg = msg;
    }

    public String getFrom() {
        return from;
    }

    public void setFrom(String from) {
        this.from = from;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
